<?php

define('BASE_PATH', dirname(dirname(__FILE__) ));

$file = BASE_PATH.'/scripts/imglist.txt';
$str = file_get_contents($file);
file_put_contents($file, ''));
$lines = explode($str
if( isset($argv[1]) )
{
	if( is_file( $argv[2] ) )
	{
		system("wget {$argv[1] -O {$argv[2]}}", $info);
	}
}
